Fix assertion.

- error code 1050 => 1005