fix broken lines

there are lines which are empty by the app when not closed before creating a new entry
Merge pull request #3 from makefu/patch-3

fix broken lines