modify libevent project