bug fixes in thinkgear c reader