bully algorithm fix