wavelab 9.5 + Cubase 10

Hi,
I got a bug when I edit a file from Cubase 10 in Wavelab 9.5 using the option “Edit in Wavelab”.
When I finished to edit my file and want to click and go back to Cubase, my file appear to be very long (my file + empty end) and I have to shorten it manually. I wonder if I’m using Wavelab 10 instead of 9.5 to match with the version of Cubase it could fix the bug.
Thanks for your help.
Charles.
++