url encoding bugfix.
fixes bug #11