Fix bug with tags mudule