fix bug with grant category route