Fix minor errors in examples