fixed compiler warnings from editor.getnextannotation