clear data before loading dict