minor performance hack for location finding