fix refreash bugs