only check lazyvars in the root module, and revert some changes