clean up selector