trying with no success to fix a bug in ajaxCicleData.php