fix bug in method that determines current url
update changelog
Bump to 2.2.2