small fix to unique code checker