render: fixed children of ifs not having any scope
*: conform to group 4-space style