remove unnecessary require from locations route