set correct tag