fix stack_cd contains space error