core: fix annotations number decoder