image uploader small fixes