Fixing issue with rights