fix annotation list template that is broken in some cases