fix cb() not called; fix multiple commands in series