Fixed some code int to long in series class.  code works.