modified prepare option of series_statement