fixed small bug introduced during race condition frustration