Fixing refresh wierdness