fixed bug that prevented game from stopping run