fixed bug in annotation grant