lib/core: fix syntax error