Fixed bug in performance monitor initialization