fix default for pattern