other improvement for replacer class
fix activation/deactivation