fix module_session reference