fix rest repeat param