replaced zs_error -> zs_error_arg1 in some functions