fixes table layout