Fix wron permission loading