strip whitespace ; paste smartly