remove output minutes and output lines