replace diff line struct