output parser cleanup