fix render syntax