fixing remote wprefresh.py