fixed sinatra issue