make sure response doesn't break when there's no location