fixed grants to resolve connection errors