Fix Some bug in Subject.py