fix bad conversion in map
better defaults in grid spacing