fix read --selection