fix in nonlin solver