stat bug fix