allow multipleshell, fix #4076
Merge pull request #4103 from qunox/multipleshells

allow multipleshell, fix #4076