fixing multi-vertex line issue (not yet resolved)