simple error handle, remove empty points from map