fixed other valgrind read error, ugly but works :)