fixed bug with patterns not expanding in help