module initialization fix
key press filtering