fixed shuffle of empty lists