fixing an undefined constant