fixed so circle will stop moving and app will not crash