fixed tags and tgm error