pass null root to modules for safety