before load written