fix refresh_cycles typo