fixed bug: drawing impulse vector