finally use long url for refresh