fix gridView changing sort or pageSize