Problem solved. The example is working fine now.