clean inputs to the parser with interpred