bug fix
adapting examples to last version of jpc