Returns tag in incorrect location