add replace space solution.