Added check path pattern.