removed trailing zero lines.