fixing reinit bug with linetrigger control