fix mac keyboard issue