fixed line render + update ui