small changes for imageuploader