Fix change permission process