fix location presence validation error