changed detectlines in autoidentify