fixed capitalize for sinatra