fixed sprintf bug when parsing cs229 files