Fix warning: -K is specified; it is for 1.8 compatibility and may cause odd behavior
Remove unused variable