Fix for undefined constant