checkcode fix for deptcode