fixed regression in getkey.sh