possible fix for 0 hp bug