urlencoded: use empty string instead of undefined