Dealing with emptying the content array