debug cheeck box and unitInput