fixes processAccelKeyEvent method