basic bugfixes for GTF parser