fix output constraints