please help fix output_line