adjust to url for restful