fix a bug in annotation