fixed refresh not sticking