added guid spoofing from 4.1 branch