remove extraneous select after extra share parameters