fixed example
fixed destroy call