more compact location sanitization
fix for new style option names
version 1.4 - fixes problem with new-style option names