fixed inconsistent line endings, tab/space usage