Fix guid generation.