added template, but error exists in url regex.