remove 'Q' from event code