Fixed crash on example.