fix rights parsin