remove redundant mux