Report Action for deleting a piece

Piece ABC is created in location XYZ. Report Action for the Delete command is $oldPieceName$ removed from $oldLocation$

If I delete the piece, the output is Piece ABC removed from
If I move the piece a bit so that Vassal recognizes it has moved from XYZ to XYZ and then I delete the piece, the output is correct : Piece ABC removed from XYZ
If I use $location$ instead of $oldLocation$, it’s worse (the location name is always blank)

Any clues?