debugging valiadation