dialog teacher fix