trying fix permission system