fix image extension case