minor fix for pattern