white space fix on getSources