fix issue with appropriately saving the coordinates and error when retrievingt he coordinates