updated remove_spaces.py