added keypressed issue