small fix to permissions