this is not a bug. What I was I thinking when I committed this. Doh!
ignore extra empty lines in fgets_str