bug fix for adding annotaton