Fix delete route for imgaes