added replacecontentclass