[core] fix typos introduced in last commit

I blame those pesky newlines and whoever thought that this kind of line breaking
is a good idea.