add support of middlewares arrays
remove _useOne