fix drawing line