check both AP interfaces and remove useless cut