properly adding tabs and spaces

fixes #44