fixed destroy call