fix empty folder deleting of image_aploader