fixed "nested repeat operator" warning for mavericks