add some error msg from repeat function, so the user could know the count is greater than default value.