fixed a wrong input param