remove unused patterns
remove unused patterns