change ref to absolute paths