fixing cookieParser module not found error
supporting namedScope, still need to propagate namedScope to descendant