shell-bugs
  shell bugfix & chapter4 main example