add libevent extend