fix eye task bug that prevented quitting