fixed sample issue