added ACTIVATE_FLAG
fixed bully reentrannce