add fixing when list of coordinates empty