handle ~~ in wolfram alpha output