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

Just make sure options[name] is set before calling toString() on it.