fixed some sinatra stuff