fixed setting of sample graph output