fix refs for new files