Removing space from targetprocess.