fix shuffle function