fixed reload
removed unneccessary code
removed unused imports
fixed outofbounds
fixed user perm reload