fix the puppet agent scope