Fix incorrect initilization in riffa wrapper