fix use sample