removing unused gcharptr