Fix syntax and fatal error on the example