fix warning in HPS