fix bug of shared ptr, must copy the payload for it free it.
v0.5 released