bugfix in edit_poi