fix reflection and random generation