fix regression bug (assertion failed when a not boolean value was specified)