add statistics
fixed add activity