added/fixed some permissions methods