fix issue with writting passage