fix bug in proxy file