insert tr at index position on check