1st attempt to fix sinatra error