Fix missing library and make better label in plot