-fixed bug in autorefresh freezing