fix image upload in staging