resolving whitespace issue