bug fixed for interface teacher