fix StrictUrl for work with ajax