bug init teacher session