sentence: This day was full of joy and happiness , but something went wrong when she told him that she was pregnant .
modified: This day was full of joy and happiness , but something went wrong after when she told him that she is pregnant .
transformation: PREP, VERB:TENSE