Fixing errors in activate_external_rbi