*fixed some errors with getSeries() and recently changes to SQL-Model