fixed bug #1548, correct mapping list of grants