fix bug with tags 2