fixed constants errors