fixed create patterns