correct bug in finding worst violator