fix the hp problem in 6.js