code relocation

relocated space-dash-space conversion to proper location