fix leaking kendo internals