correcting artifact ids