Fixed two Performance counter issues

This should resolve the issues at startup