remove admin
principal_type -> type