Thank you for your help.
I replaced the shape and exported as pdf correctly, but how the outline could make all the shape to export gray puzzles me.
Maybe it is a bug which can be corrected only by developers.