fix missing sinatra environment setting