modify url grammar