convert tabs to spaces to keep indentation consistent