from Mr. Fu
fix drawStreamline