fixing commenting in shell mode.