fixed filerights