fixed compatibility with Express 4.7.0