correct a bug in the snippet