corrected stats collection at the end of the process
buggy missing coma