avoid NullPointer in DisplayAny
isValueConstant bugfix