protect records from getting damaged