closes #33, insertLine replaces empty lines