tweak location.coords to allow None