fixing refresh bugs