fix refresh to load current tab