fix for upgraded version of sinatra