change teacher class path to info path
fix bug and add message