Trim empty lines