Fixed bug when no err_arg