fix derived files