Fix duplicate permission error