fixed modmap for custom modules