truncate distance at 0
remove spaces from results