add main handler of proxys