Remove id attribute from dom element. Error appeared when creating new elements, as they do not have id at the time of creating a view for them...now using weights. Do not like this solution either. Will fix next day working on this.