Fix on Destroy Function