Fixed wrong type in shuffle