Fixed a bug with the up-arrows