fix image style when uploading