fix resfresh urls && safari use strict