Removing mixed tabs

Seems like the pasted function resulted in a mix of tabs and spaces