fix annotation adding bug