fixes table formatting