fixed bug in game controller on line 12