Fixed a bug when we set no performance events:wq