issue with auto permissions