Fixed name.trim()