Fix for the pattern settings command