selector cleanup