unbreaking insertSpaces.py