faulty call fixed in server.rb