refactor TableBuilder
fix TableBuilder validateColor
refactoring TableBuilder