Same here. I think we could remove `selectDataStr` from the switch.