taking out nbsp