adding keyup
fix bugs