Fix mux select bug