fixed long standing dumb bug in proxy