fix some bug in prayerline example