Fix AKM permissions