some syntax fix in shell function calls

two small bugfix