Removed extraneous patterns var