fix a sample error