fixed extreme.trim