fixed to draw client graph automatically