fix errors from constrained fits