starting #188
fix subshell issue