core: fixed previous commit