fix image shapes