Fixed code compatability
Fixed code compatability
Minor fix and improve how series object create
Cleanup code
ver 3.0.2 - Minor fix