change toggle proxy and reduce the lock time