fix layout table