fix a bug in samples