solve problem with tags