image and delete issue fixed