resolved deadlock by keeping tag same