fix error print