remove array attribute from contents array