minor bug fix - dealing with empty illegalPairs array. also removing base href until it works