change attribute names from "innerXXX" to "bodyXXX" to match actual $body naming convention