fixed &nbsp;/space issue