npm 0.0.2, fix param parsing for middleware array