fixing refresh.