Cleanup render_error