fixed bug in sinatra settings