fixed bug where key listeners never fired