fixed for newer CM versions, detecting tab correctly again