data_engine not inserting QOS data into database