correction for call function as last instruction in stream
correction of missing brace