fix white space from dict