fix for annotate warnings