fix subject constraint