one more fix for the advanced url rewriter