fixed space removal from strings