fixed key listener behavior
Merge remote-tracking branch 'origin/dev' into dev