added validation on label view