If options[name] is not set .toString() fails with 'cannot read property of undefined'