disable some patterns