Fix the error of hpa when create ns