enabled shuffle in chunk function