make the Sinatra example work again. Fixes #11