fixed bug with deleting images