fixing allowSortByNone