minor fixes to output_lyrics function