Debug with valgrind - Fixed typos