fixed prior error

Hopefully only defaulting when getlocation fails, which will let me run without being behind a server.