taking out spaces in results