fix web.main reference