Fixed valgrind complaining about an uninitialized value