fixes for npropel shell
fixes for npropel shell