fix tag grabbing