function to remove the first attachment so that it isn't displayed twice