starts to work as expected with autorefresh