fix annotation parsing