fix image upload in production