Fix error argument passing.