fixed issues with search and editing of coordinates