Adapted qbcsv module to change of validate function