fixing file rights