fix reference to undefined constant