ignore errors when closing cursor
highlight the latest event when rendering