added key control
deleted util func
fixed keyboard justDown bug