fixed fcycle problem