Fix error on examples code