small data cast errors fixed, build 5