minor shell syntax fixes