fix pattern matching import statement