Fixed issue in subject model