removed global handler.