remove excessive broken inputs