uncommenting pin validation