fixed newEl calling in plottemplates