generate validate label