change a view multiple times error

kindly can you help me and check what is the error in this snippet when I change the view more than one time I get script error https://webix.com/snippet/f1228098

@ishaarany
always use webix.copy if object will be reused.
in your sample “roomdist” object is very complex and contains error related object. this can be solved using webix.copy
https://webix.com/snippet/9625ddaf

thanks alot