fixed bad delete