fixed end error in server.rb