hwc: fix the wrong parameter