remove warning of extra permissions