fixing riwayat