fix layout for tag ter