fix src/cxx lw_pump pointer safe case