improve show of plot and warnings