wald works with constrained models