save csv statis fixed

saveCSVStats function to save value when there is no tick