fixed extra blank line on save