fixes uniquness of APs