fix template member num limit error