This fixes the delete method, had some uneeded steps