fixed a bug in code snippet