fix error when loading an empty line separated file
handle manually generated bigrams