fix agency index permission