correct modname when core