Fix array access issues
Merge branch 'master' of https://github.com/AE97/TotalPermissions.git
Why that path there