Fix on pathname for modernizer