sorted out a issue with deleting images on the new image uploader