remove some bad input for network