fixes to get the example working on dev version

Signed-off-by: Ion Alberdi <nolaridebi@gmail.com>