remove newlines in partial evaluation