render cleanup