Better guid setting