fixing assert in rcyc