Removing extra blank line at the end