Everything works except delete

Delete doesn't work right