bug fix in shell application