fix some bug by using random.sample