Fixed an issue with AS lookups and some formatting glitches