fixed removed tailing space issue

for middle position option.