remove the extra wrap div wrapper on destroy function call