add clean option to render