fix bug in annotation config