try to fix compile warning about parameter mismatch