bug fix atcellcycle