bug fix for image uploader
bug fix for image uploader