replace attr body id and class