Fixed bug on basic example.