fix image upload with paperclip