Fix refresh not before show