Doh, missed changing a var name