added error checking csvfilters