fix debug shell