remove unused selects