fixed hps warnings