fix mac only special key bug