fixing simple example - works with 0.8.4 and XCode6