Error fix and example modification
Bug fix and example modification