Update validate.cpp

Removed debug.