fixing redundant tapid id creation

toggle is be called multiple times which had a call to creating a tapid
reducing white space visually