changed SELECT_ALL to ALL and SELECT_NONE to NONE