Fix a bug in looking-up the url table