small fix to url regex