attempted to fix image upload round 2