added a new header and fixed bug: g tags are read, even inside a comment