fixing up line draw