fixed edit + delete