Fixes coremod setup