fix image upload bug
Merge pull request #35 from YanshuoH/yhuang/fix_upload_image_bug

fix image upload bug