fix error code for the new sync error

apparently can't count :-(