fix image id parse