You have 2 typo's but only solved 1 :-)
see lines 220 and 224.