wip. legend alignment fixed in table