Fixed profile reference error for StatsTool