Another fix for permissions-refreshing issues