fix two small, but very severe bugs in xkcd parser