change semester information, and solve some bugs.