fixed bug in expand all
Merge pull request #189 from paczian/master

fixed bug in expand all