bug fix post destroy