some fixes for "?_escaped_fragment_=" without urls