fix User::random return array may contain null value