examples: fixes to shell example