restore final key checks