front-end saves location correctly
fixed map location data types