update sml example bug.