fix fuckup with core