fix examples erroneously interpreting empty string as falsy value