fixed error in building tree node with plots for standard metrics