fix rpt write off end
write off xml