fix bug: add shell dir var in seperate module.