tidy up the selector