if tag.line not defined, it will find free line for it
if tag.line not defined, it will find free line for it