fix cms page url generating