Ignore dirty for replacewithregister