remove register permission