fixed bug in ConstPropVisitor