fixed example bug