removed debug flag for validation