clean render file of unused stuff