fix bugs
start statistics