Reduce variables in add method
Fix memory leak
use static pux_ce_mux directly