cleaning up subtlepatterns