stop gap implemented to prevent commas and spaces, in order avoid null pointer exceptions.