fixed line position after creating