fixed issues: update after deactivate rules