SABAH coach Ong Kim Swee conceded that he lost his cool and deserved the yellow card in the 1-0 loss to Johor Darul Ta'zim (JDT) in the first leg of the Malaysia Cup semi-final on Tuesday.