Fixed staging bug and statistics in develop branch.