eventmachine fix