select all/none, bug fixed