fixed some bugs in performance polyfill