0.5: fix stats.hp not defined error