fix the hp problem