remove array of keycodes