Fixed patterns bug