fix renamed writtenOn field