fixed some pattern problems, simple migration works now