eventloop problem