Fix for patterns not staying