fix a problem in reading subjects