fix 3d lines