Change some patterns