Set name invalid check implemented