corrected setting of lyric flag and removed test code