Fixed also delete function