permission fixes

permission fixes