add more changes to make Sinatra happy