fix deprecated selects