fixing modifier key tracking