fixed strings to strip off null bytes on read in