minor fix to sinatra app, fixes #168