fix array argument problem