fix module registration for monolog