fix RWD file