global input mangement
- fixed duplicate command/key bug