keyboard handler & bullet stuffs