fixed insert of extra space when capturing KB entries