allow multipleshell, fix #4076