fix possible ap with same name