fixed validation errors & changed type to series

Fixes #89