fixed stat change errors