fix renderBody bug