Tidying up tables output