fixed minor issues in Render making the compile fail