fixed a bug in the getAvailableAccessPoints() method