fix some bugs and add ko annotation profile as input