activation rewrite