trying to fix defineconstants