problem with new patterns fixed