prevent errors.