fixed the pulling of the tags