fixed autorefresh