quick patch on duplicate constants bug