Fixes warnings...
Use valgrind to detect error...