fix modification tracking for adapters