fix download url pattern check