fix layout teacher