fixes assembled-to-annotation function