fix undefined constant