Fix error (thank you valgrind)