Fix the one-line-only-bug

Fixes #247
Merge pull request #259 from lorenzhs/fetchlinefix

Fix the one-line-only-bug