= core: fix errors in last commit