bug to remove pointer on contents