stats - bug fix, upload condition evaluation