dropdown refactored, autorefresh still not working