fix EVBUFFER_LENGTH bug