validation debug