Fixes table layout