removed unwanted pattern matches