fixed missed key search problem with remainder being written in a bad
format causing incorrect text to be identified as missing