fixed small bugs. before change statistics online.