fixed a bug in deltatable.h due to the dirty values. We need to clear each v1 when reseting the table