fix bugif the first argument is array, it can't work