Improve the mux create routine to handle the unset and auto values