fix bug for level 5 and enable arrow keys