fix link and pattern name