cycles bug fix