fixing filelog(print_r($r,true));