fixed bug when random not getting passed in jagr_chains update