Repare table formatting