fixed select all and aelect none bugs