resolve new url before resfresh