Added trigger to prevent the loss of information.