fix error test