core: fix broken commit 187b136