removed autorefresh logic