fix wrong implementation bug
add up & down keys