fixed subshell assignment