Fixed wrong strtol for stat.