rename the ref file to work