add options for statistics
statistics fix