just fixed the delete that was working from the last commit