Fixed some bugs, added codes for Topic