Fix bugs on example