replace tabs with spaces, and remove unused requires.