fixing refresh regression