fixing matching bug
proxy & encoding issues