ah, worked it out, @error is changed by ReadProfileString function...

Cheers!