valgrind pass
valgrind pass
add out err to get_fragment