Replaced empty spaces with the right characters