fix rem_header (valgrind: 0 error)