core: fix